
        <h2 align="center">Daftar User</h2>
        <div class="btn-toolbar">
            <a href="<?php echo URL; ?>user/userForm" class="btn btn-primary">New User</a>
        </div>

        <table class="table table-striped table-bordered" id="example" >
            <thead >
                <tr>
                    <th >User_id</th>
                    <th >NIP</th>
                    <th >Username</th>                  
                    <th >Role</th>
                    <th >Action</th>

                </tr>
            </thead>
            <tbody>
                <?php
                foreach ($this->userList as $key => $value) {

                    echo '<tr>';
                    echo '<td>' . $value['user_id'] . '</td>';
                    echo '<td>' . $value['nip'] . '</td>';
                    echo '<td>' . $value['username'] . '</td>';
                    echo '<td>' . $value['role'] . '</td>';
                    echo '<td>
                    <a class="btn" href = "' . URL . 'user/edit/' . $value['user_id'] . '"><i class = "icon-edit"></i><strong>Edit</strong></a>
                    <a class="btn" href = "' . URL . 'user/delete/' . $value['user_id'] . '"><i class = "icon-trash"></i><strong>Del</strong></a>
                    
                    </td>';
                    echo '</tr>';
                }
                ?>

            </tbody>
        </table>
   
<div class="pagination">

</div>
<!--<div class="modal small hide fade" id="myModal" tabindex="-1" role="dialog" aria-labelledby="myModalLabel" aria-hidden="true">
    <div class="modal-header">
        <button type="button" class="close" data-dismiss="modal" aria-hidden="true">×</button>
        <h3 id="myModalLabel">Delete Confirmation</h3>
    </div>
    <div class="modal-body">
        <p class="error-text">Are you sure you want to delete the user?</p>
    </div>
    <div class="modal-footer">
        <button class="btn" data-dismiss="modal" aria-hidden="true">Cancel</button>
        <button class="btn btn-danger" data-dismiss="modal">Delete</button>
    </div>
</div>-->